package com.practice.bootdemo.common;

/**
 * author :v-zhousq04
 * description: 状态枚举类
 * create date: 2018/3/15 14:01
 * last modify by:v-zhousq04
 */
public enum CodeResponse {
    FAIL("失败","0001"),
    SUCCESS("成功","0000");

    private String desc;
    private String code;

    CodeResponse(String desc ,String code){
        this.desc=desc;
        this.code=code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
